/**
 * 							IO Common Defination
 * @brief	IO Common Definaton
 * @author	chy.
 * @note
 * @comment
 */
#ifndef _K_IO_BASEDEFINE_
#define	_K_IO_BASEDEFINE_

#include "mem_basedefine.h"

/** physical port address to virtual port address */
#define	K_IO_PHYPORT2VIRPORT(__port__)	(K_SYS_IO_VIRTUAL_START_ADDR + __port__ - K_SYS_IO_PHYSICAL_START_ADDR)

#endif	/* _K_IO_BASEDEFINE_ */